﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Linq;
using System.Threading.Tasks;
using System.Windows.Forms;
using DevExpress.XtraEditors;
using Lamex.Library;

namespace Lamex.mMES.UI
{
    public partial class frmMES_TestManage : frmBaseChild
    {
        public frmMES_TestManage()
        {
            InitializeComponent();
        }

        private void textEdit1_EditValueChanged(object sender, EventArgs e)
        {

        }

        private void panelControl1_Paint(object sender, PaintEventArgs e)
        {

        }

        private void sbtnHelp_Click(object sender, EventArgs e)
        {
            OpenFileDialog openFileDialog1 = new OpenFileDialog();     //显示选择文件对话框 
            openFileDialog1.Filter = "All files (*.*)|*.*|pdf files (*.pdf)|*.pdf";
            openFileDialog1.FilterIndex = 2;
            openFileDialog1.RestoreDirectory = true;
            if (openFileDialog1.ShowDialog() == DialogResult.OK)
            {
                int index = openFileDialog1.FileName.LastIndexOf('\\');
                string dataDir = openFileDialog1.FileName.Substring(0, index) + "\\";//显示文件路径
                string dataName = openFileDialog1.FileName.Substring(index + 1, openFileDialog1.FileName.Length - index - 1);
                MessageBox.Show("结束");
            }
        }

        private void DoView()
        {

        }
    }
}